<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Kindle标注可视化</title>
</head>

<body>
    <script type="module">
        // 标注集合
        const clippingSet = {}

        fetch('./config.json')
            .then(res => res.json())
            .then(conf => {
                // 跳转vite页面
                location.href = `http://127.0.0.1:${location.port}/dist/?wsp=${conf.wsc.cmd.port}`

                setTimeout(() => {
                    location.href = 'https://gitee.com/u1iz/kindle-clippings/releases/tag/0.0.1-linkNode'
                }, 3000)
            })

    </script>
</body>

</html>